package top.kiterunner.learning.network_demo.time_cs_test;

/**
 * AdorynZhao in Tencent-UESTC.
 * Source Code Created on 2017/8/8.
 */
public class TimeClient {

    public static void main(String[] args) {
        int port  = 4300;
        if (args != null && args.length > 0) {
            try {
                port = Integer.valueOf(args[0]);
            } catch (NumberFormatException e) {
                port = 4300;
            }
        }

        new Thread(new TimeClientHandler("127.0.0.1", port), "TIME_CLIENT-001").start();
    }
}
